package org.jeecg.modules.business.delivery.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.business.delivery.entity.WmsDeliveryTaskMaterial;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 调拨任务 vo
 * @Author: jeecg-boot
 * @Date:   2023-11-22
 * @Version: V1.0
 */
@Data
public class WmsDeliveryTaskVO {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**部门*/
	@ApiModelProperty(value = "部门")
    private String sysOrgCode;
	/**组织*/
	@ApiModelProperty(value = "组织")
    private String organization;
	/**单据类型*/
	@ApiModelProperty(value = "单据类型")
    private String documentType;
	/**单据编号*/
	@ApiModelProperty(value = "单据编号")
    private String documentCode;
	/**单据状态*/
	@ApiModelProperty(value = "单据状态")
    private String documentStatus;
	/**调拨类型*/
	@ApiModelProperty(value = "调拨类型")
    private String deliveryType;
	/**货主类型*/
	@ApiModelProperty(value = "货主类型")
    private String ownerType;
	/**货主*/
	@ApiModelProperty(value = "货主")
    private String owner;
	/**客商*/
	@ApiModelProperty(value = "客商")
    private String customer;
	/**调出仓库id*/
	@ApiModelProperty(value = "调出仓库id")
    private String outWarehouseId;
	/**调出仓库名称*/
	@ApiModelProperty(value = "调出仓库名称")
    private String outWarehouseName;
	/**调出货主*/
	@ApiModelProperty(value = "调出货主")
    private String outOwner;
	/**调拨日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "调拨日期")
    private Date deliveryDate;
	/**调入仓库id*/
	@ApiModelProperty(value = "调入仓库id")
    private String inWarehouseId;
	/**调入货主*/
	@ApiModelProperty(value = "调入货主")
    private String inOwner;
	/**仓库组id*/
	@ApiModelProperty(value = "仓库组id")
    private String wmsBasicWarehouseGroupId;
	/**调出部门*/
	@ApiModelProperty(value = "调出部门")
    private String outDepartmentId;
	/**在途归属*/
	@ApiModelProperty(value = "在途归属")
    private String inTransitOwnership;
	/**仓管员*/
	@ApiModelProperty(value = "仓管员")
    private String warehouseKeeper;
	/**调入部门*/
	@ApiModelProperty(value = "调入部门")
    private String inDepartmentId;
	/**调拨出库任务*/
	@Excel(name = "调拨出库任务", width = 15)
	@ApiModelProperty(value = "调拨出库任务")
	private String outTaskCode;
	/**调拨入库任务*/
	@Excel(name = "调拨入库任务", width = 15)
	@ApiModelProperty(value = "调拨入库任务")
	private String inTaskCode;

	/**调拨状态*/
	@Excel(name = "调拨状态", width = 15)
	@ApiModelProperty(value = "调拨状态")
	private String deliveryStatus;
	/**备注*/
	@ApiModelProperty(value = "备注")
    private String remark;
	/**来源系统*/
	@ApiModelProperty(value = "来源系统")
	private String originalSystem;
	/**来源单号*/
	@ApiModelProperty(value = "来源单号")
	private String originalSystemNumber;
	/**请求人员*/
	@ApiModelProperty(value = "请求人员")
	private String requestPerson;
	/**请求时间*/
	@ApiModelProperty(value = "请求时间")
	private String requestTime;
	/**任务编号*/
	@ApiModelProperty(value = "任务编号")
	private String taskCode;
	/**任务类型*/
	@ApiModelProperty(value = "任务类型")
	private String taskType;
	/**操作人员*/
	@ApiModelProperty(value = "操作人员")
	private String operatorName;
	/**操作时间*/
	@ApiModelProperty(value = "操作时间")
	private Date operatorTime;

	@ApiModelProperty(value = "调拨任务物料明细")
	private List<WmsDeliveryTaskMaterial> wmsDeliveryTaskMaterialList;

}
